namespace ProduceBasicData.Api.DTO
{
    /// <summary>
    /// 工艺路线DTO
    /// </summary>
    public class CraftDTO
    {
        /// <summary>
        /// ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 工艺路线名称
        /// </summary>
        public string CraftName { get; set; }

        /// <summary>
        /// 预览图
        /// </summary>
        public string PreviewImage { get; set; }
        public string? PriviewJson { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string CraftType { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string CraftStatus { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string CraftDesc { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}